It takes on complicated forms, including longshore currents, which set parallel to the beach, and rip currents, in which water carried shoreward by breaking waves finds its way back to deep water in fast, narrow jets. Longshore and rip current velocities may be as great as 3 knots.
Source: wiktionary